package com.skivingcloud.file.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 附件
 * </p>
 *
 * @author skivingcloud
 * @since 2022-03-02
 */
@TableName("sys_file")
@ApiModel(value = "SysFile对象", description = "附件")
public class SysFile implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("附件名称")
    private String fileName;

    @ApiModelProperty("文件类型")
    private String fileType;

    @ApiModelProperty("文件大小")
    private Float fileSize;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件状态")
    private String fileState;

    @ApiModelProperty("主数据ID")
    private String businessId;

    @ApiModelProperty("功能模块")
    private String belongModule;

    @ApiModelProperty("功能模块所属")
    private String belongModulePart;

    @ApiModelProperty("文件描述")
    private String memo;

    @ApiModelProperty("创建人员")
    private String creater;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新人员")
    private String updater;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("数据版本")
    private String version;

    @ApiModelProperty("FileNet对照id")
    private String guid;

    @ApiModelProperty("hdfs文件系统路径")
    private String hdfsPath;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }
    public Float getFileSize() {
        return fileSize;
    }

    public void setFileSize(Float fileSize) {
        this.fileSize = fileSize;
    }
    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    public String getFileState() {
        return fileState;
    }

    public void setFileState(String fileState) {
        this.fileState = fileState;
    }
    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }
    public String getBelongModule() {
        return belongModule;
    }

    public void setBelongModule(String belongModule) {
        this.belongModule = belongModule;
    }
    public String getBelongModulePart() {
        return belongModulePart;
    }

    public void setBelongModulePart(String belongModulePart) {
        this.belongModulePart = belongModulePart;
    }
    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
    public String getHdfsPath() {
        return hdfsPath;
    }

    public void setHdfsPath(String hdfsPath) {
        this.hdfsPath = hdfsPath;
    }

    @Override
    public String toString() {
        return "SysFile{" +
            "id=" + id +
            ", fileName=" + fileName +
            ", fileType=" + fileType +
            ", fileSize=" + fileSize +
            ", filePath=" + filePath +
            ", fileState=" + fileState +
            ", businessId=" + businessId +
            ", belongModule=" + belongModule +
            ", belongModulePart=" + belongModulePart +
            ", memo=" + memo +
            ", creater=" + creater +
            ", createTime=" + createTime +
            ", updater=" + updater +
            ", updateTime=" + updateTime +
            ", version=" + version +
            ", guid=" + guid +
            ", hdfsPath=" + hdfsPath +
        "}";
    }
}
